<ul class="detailContent">
    <?php if(!empty($user->id)): ?>
    <div class="kuang2"><img class="zcgw" src="<?php echo $user->photo;?>" /></div>
    <div class="det">
        <p>姓名：<?php echo $user->username;?><br>
            职位：<?php echo $user->job;?><br>
            民族：<?php echo $user->nation;?><br>
            出生日期：<?php echo $user->birthday;?><br>
            学历学位：<?php echo $user->education;?><br>
            简介： <?php echo $user->info;?><br>
        </p>
    </div>
    <?php else: ?>
        请选择人名
    <?php endif;?>
    <div class="clear"></div>
</ul>